{extend name="common/base"/}
{block name="style"}

<link rel="stylesheet" href="{__CSS__}/user.css?v={:get_system_config('web','version')}" media="all">
{/block}
<!-- 主体 -->
{block name="body"}
{include file="common/header" nav='info' /}
<div class="user">
	<div class="user-home"><a href="/">首页</a> - 个人中心</div>
	<div class="user-box clearfix">
		<div class="l user-menu">
			{include file="common/usermenu" nav='info' /}
		</div>
		<div class="r user-right">
			<div class="user-info">
				<dl class="clearfix">
					<dt class="user-info-img"><img src="{$userInfo.headimgurl}" /></dt>
					<dd class="user-info-name">{$userInfo.showname} [{$userInfo.level_title}]</dd>
					<dd class="user-info-tips">
						{$userInfo.desc}
					</dd>
					<dd>签到情况：{$userInfo.score3}，积分：{$userInfo.score}</dd>
				</dl>
			</div>
			<div class="user-detail">
				<div class="user-detail-h3">{$userInfo.bj_name} 积分排行榜 </div>
				<table class="layui-table">
					  <colgroup>
					    <col width="10%">
					    <col width="20%">
					    <col width="50">
					    <col width="50">
					    <col>
					  </colgroup>
					  <thead>
					    <tr>
					      <th>名次</th>
					      <th>学号</th>
					      <th>姓名</th>
					      <th>性别</th>
					      <th>总积分</th>
					      <th>签到分</th>
					      <th>上课表现</th>
					    </tr> 
					  </thead>
					{volist name="score_rank" id="user"}
					<tr>
						<td >第{$i}名</td>
						<td width="12%">{$user.st_code}</td>
						<td width="12%">{$user.name}</td>
						<td width="12%">{$user.sex}</td>
						<td width="12%">{$user.score}</td>
						<td width="12%">{$user.score3}</td>
						<td width="12%">{$user.score1}</td>
					</tr>
					{/volist}
					
				</table>
			</div>
		</div>
	</div>
</div>
{/block}
<!-- /主体 -->

<!-- 脚本 -->
{block name="script"}
<script>

</script>
{/block}
<!-- /脚本 -->